import java.util.concurrent.locks.ReentrantLock;

/**
 * @author <a href="mailto:enjie.xu@yunhutech.com">xiaoming</a>
 * @since 2021/6/25
 */
public class AQSDemo {

    public static void main(String[] args) {
        ReentrantLock lock = new ReentrantLock();

        lock.lock();

        // -------biz
        System.out.println("水水水水");

        lock.unlock();
    }
}
